x = input("请输入x的值：")
y = input("请输入y的值：")
print(x,y)
x,y = y,x
print(x,y)

sum = 0
max = 1000
i = 1
while sum < max:
    sum = sum + i
    i = i + 1
j = i - 1
print(sum - j)
print(j)

sum1 = 0
z = 1
while z <= 100:
    if z % 3 != 0:
       sum1 = sum1 + z
    z = z + 1
print(sum1)

one = input("请输入第一个字母")
two = input("请输入第二个字母")
three = input("请输入第三个字符")
if one > two:
    one,two = two,one
elif one > three:
    one,three = three,one
elif two > three:
    two,three = three,two;
print(one,two,three)




























